<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // if(1<2){
        //     var num = 100;

        // }

        // console.log(num);

        for(var i=0;i<3;i++){
            var num2 = 666;

        }

        console.log(num2)
    </script>
</body>
</html>